package com.paw.ruoyi.admin.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.paw.ruoyi.admin.common.annotion.Excel;
import com.paw.ruoyi.admin.common.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;

/**
 * 用户对象 t_user
 *
 * @author admin
 * @date 2022-01-22
 */
@Data
@TableName(value = "t_app_user")
public class AppUser extends BaseEntity{

  private static final long serialVersionUID = 1L;

  /** id */
  @Excel(name = "id")
  @TableId(value = "f_id")
  @ApiModelProperty(value = "id")
  private Long id;

  /** 姓名 */
  @Excel(name = "姓名")
  @TableField(value = "f_user_name")
  @ApiModelProperty(value = "姓名")
  private String userName;

  /** 用户手机号 */
  @Excel(name = "用户手机号")
  @TableField(value = "f_user_phone")
  @ApiModelProperty(value = "用户手机号")
  private String userPhone;

  /** 用户二维码标识 */
  @Excel(name = "用户二维码标识")
  @TableField(value = "f_qr_code")
  @ApiModelProperty(value = "用户二维码标识")
  private String qrCode;

  /** 性别（0:未知;1:男;2:女） */
  @Excel(name = "性别", readConverterExp = "0=:未知;1:男;2:女")
  @TableField(value = "f_gender")
  @ApiModelProperty(value = "性别（0:未知;1:男;2:女）")
  private Integer gender;

  /** 生日 */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
  @TableField(value = "f_birthday")
  @ApiModelProperty(value = "生日")
  private Date birthday;

  /** 身份证号 */
  @Excel(name = "身份证号")
  @TableField(value = "f_id_card_no")
  @ApiModelProperty(value = "身份证号")
  private String idCardNo;

  /** 身份证正面照 */
  @Excel(name = "身份证正面照")
  @TableField(value = "f_id_card_front")
  @ApiModelProperty(value = "身份证正面照")
  private String idCardFront;

  /** 身份证反面照 */
  @Excel(name = "身份证反面照")
  @TableField(value = "f_id_card_reverse")
  @ApiModelProperty(value = "身份证反面照")
  private String idCardReverse;

  /** 昵称 */
  @Excel(name = "昵称")
  @TableField(value = "f_nick_name")
  @ApiModelProperty(value = "昵称")
  private String nickName;

  /** 头像 */
  @Excel(name = "头像")
  @TableField(value = "f_avatar")
  @ApiModelProperty(value = "头像")
  private String avatar;

  /** 登陆密码 */
  @Excel(name = "登陆密码")
  @TableField(value = "f_login_pwd")
  @ApiModelProperty(value = "登陆密码")
  private String loginPwd;

  /** 支付密码 */
  @Excel(name = "支付密码")
  @TableField(value = "f_pay_pwd")
  @ApiModelProperty(value = "支付密码")
  private String payPwd;

  /** 注册类型 */
  @Excel(name = "注册类型")
  @TableField(value = "f_wx_open_id")
  @ApiModelProperty(value = "注册类型")
  private String wxOpenId;

  /** 0无效1有效 */
  @Excel(name = "0无效1有效")
  @TableField(value = "f_yn")
  @ApiModelProperty(value = "0无效1有效")
  private Integer yn;



}
